package com.zte.claa.inficombo.csa.app.service.huaxiapr.bean;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.zte.claa.inficombo.csa.app.util.JsonUtils;

/*
 * Author by 0283000106 
 */

@JsonInclude(JsonInclude.Include.NON_NULL)
public class HuaXiaRmRspMsgCache {
	private int error_num = 0;
	private String error_str = "noerror";
//  private String passwd = "";
	private HuaXiaRmRspGpioData gpio_data = null;
	private HuaXiaRmRspRs485Data rs485_data = null;
	private HuaXiaRmRspTrigerData triger_data = null;
	private HuaXiaRmRspWhiteNameList whitelist_data = null;
	
	public HuaXiaRmRspMsgCache() {
		
	}
	
	public int getError_num() {
		return error_num;
	}

	public void setError_num(int error_num) {
		this.error_num = error_num;
	}

	public String getError_str() {
		return error_str;
	}

	public void setError_str(String error_str) {
		this.error_str = error_str;
	}

//	public String getPasswd() {
//		return passwd;
//	}
//
//	public void setPasswd(String passwd) {
//		this.passwd = passwd;
//	}

	public HuaXiaRmRspGpioData getGpio_data() {
		return gpio_data;
	}
	public void setGpio_data(HuaXiaRmRspGpioData gpio_data) {
		this.gpio_data = gpio_data;
	}
	public HuaXiaRmRspRs485Data getRs485_data() {
		return rs485_data;
	}
	public void setRs485_data(HuaXiaRmRspRs485Data rs485_data) {
		this.rs485_data = rs485_data;
	}
	public HuaXiaRmRspTrigerData getTriger_data() {
		return triger_data;
	}
	public void setTriger_data(HuaXiaRmRspTrigerData triger_data) {
		this.triger_data = triger_data;
	}
	public HuaXiaRmRspWhiteNameList getWhitelist_data() {
		return whitelist_data;
	}
	public void setWhitelist_data(HuaXiaRmRspWhiteNameList whitelist_data) {
		this.whitelist_data = whitelist_data;
	} 
	
	@Override
	public String toString() {
		String outputstr = JsonUtils.toJson(this);
		return outputstr;
	}
}
